package cn.stylefeng.guns.modular.gridsystem.model.param;

import cn.stylefeng.guns.core.pojo.base.param.BaseParam;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * 网关配置项表
 *
 * @author ssy
 * @date 2022/10/31 15:29
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class BizGatewayConfigItemParam extends BaseParam {

    /**
     * id
     */
    @NotNull(message = "id不能为空",groups = {edit.class})
    private Integer id;

    /**
     * 名称
     */
    @NotNull(message = "名称不能为空",groups = {add.class,edit.class})
    private String configName;

    /**
     * 编码
     */
    @NotNull(message = "编码不能为空",groups = {add.class,edit.class})
    private String code;

    /**
     * 值
     */
    @NotNull(message = "值不能为空",groups = {add.class,edit.class})
    private String value;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 备注
     */
    private String remark;

    /**
     * 网关配置编码
     */
    private String gatewayConfigCode;

    /**
     * 网关id
     */
    private Integer gatewayId;

}
